package com.benmei.ntlive.vo;

/**
 * Created by Peter on 2017/9/12.
 */
public class Room {
    private Integer roomId;
    private Session student;
    private Session teacher;

    public Room(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Session getStudent() {
        return student;
    }

    public void setStudent(Session student) {
        this.student = student;
    }

    public Session getTeacher() {
        return teacher;
    }

    public void setTeacher(Session teacher) {
        this.teacher = teacher;
    }


    public boolean isEmpty() {
        return (this.teacher == null && this.student == null);
    }
}
